'''
/*
 * @Author: wevsmy 
 * @Date: 2017-10-23 19:54:18 
 * @Last Modified by: wevsmy
 * @Last Modified time: 2017-10-23 19:57:15
 */
'''
from multiprocessing import Process
import time

class NewProcess(Process):
    def run(self):
        while True:
            print("-----1-----")
            time.sleep(1)

p = NewProcess()
p.start()

while True:
    print("-----2-----")
    time.sleep(1)